package com.lfy.domian;

import com.lfy.aop.TT;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Data
public class A {
    @Autowired
    private B b;
    private String name = "A";
    @TT
    public B getB() {
        return b;
    }

    public void setB(B b) {
        this.b = b;
    }


}
